
function editAfter(obj, row) {
    edityin();//绑定数据之前先清除

    document.getElementById("editid").value=row.id;
    document.getElementById("editcontactAddress").value=row.contactAddress;
    document.getElementById("editcontactNumber").value=row.contactNumber;
    document.getElementById("editcontactName").value=row.contactName;

    $("#editZFQD").hide();

    var isEverySet =row.isEverySet;
    var payChannel=row.payChannel;

    if (row.locked==1) {
        $("#editevery1").removeAttr("checked");
        $("#editevery").attr("checked","checked");
    }else {
        $("#editevery").removeAttr("checked");
        $("#editevery1").attr("checked","checked");
    }

    if (row.isEverySet==1) {
        $("#editbuxiuyao").removeAttr("checked");
        $("#editxiuyao").attr("checked","checked");

    }else {
        var payCompanyInfos = row.payCompanyInfos;
        //显示文本框
        $("#editZFQD").show();
        //判断是否选中支付渠道
        $("#editxiuyao").removeAttr("checked");
        $("#editbuxiuyao").attr("checked","checked");
        //判断选中了支付渠道的类型
        var aid="";
        for (i in payCompanyInfos) {
            var payType =payCompanyInfos[i].payType;
            var j =payCompanyInfos[i].payChannel;
            aid+=payCompanyInfos[i].id+",";
            if (j==1){
                editweixin(i);
                var type = "1";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark").value="";
                }else {
                    document.getElementById("editremark").value=payCompanyInfos[i].remark;
                }
                if (payCompanyInfos[i].wxPayJsonVo.appSecret == undefined){
                    document.getElementById("editAppSecret").value="";
                }else {
                    document.getElementById("editAppSecret").value=payCompanyInfos[i].wxPayJsonVo.appSecret;
                }
                //判断是否选中子商户
                if (payCompanyInfos[i].wxPayJsonVo.childMerchants==null || payCompanyInfos[i].wxPayJsonVo.childMerchants==undefined){
                    $("#editwxZiAppID").hide();
                    $("#editWXChildAppID").removeAttr("name");
                    $("#editWXChildAppID").removeAttr("required");
                    $("#editwxXiuyaoZiShangHu").removeAttr("checked");
                    $("#editwxBuxiuyaoZiShangHu").attr("checked","checked");
                    document.getElementById("editWXChildAppID").value="";
                }else {
                    $("#editwxZiAppID").show();
                    $("#editwxBuxiuyaoZiShangHu").removeAttr("checked");
                    $("#editwxXiuyaoZiShangHu").attr("checked","checked");
                    $("#editWXChildAppID").attr("name","payCompanyInfos["+$("#editwxIsCallback").val()+"].wxPayJsonVo.childMerchants");
                    document.getElementById("editWXChildAppID").value=payCompanyInfos[i].wxPayJsonVo.childMerchants;
                }
                var id = payCompanyInfos[i].id;
                document.getElementById("editappID").value=payCompanyInfos[i].wxPayJsonVo.appID;
                document.getElementById("editmchid").value=payCompanyInfos[i].wxPayJsonVo.mchid;
                document.getElementById("editkey").value=payCompanyInfos[i].wxPayJsonVo.key;
                document.getElementById("editpayType").value=payType;
                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editpaytype1]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpaytype1]').trigger("change");
                    document.getElementById("editWXCallback").value=payCompanyInfos[i].wxPayJsonVo.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editpaytype1]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpaytype1]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editpaytype1]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpaytype1]').trigger("change");
                    document.getElementById("editWXCallback").value=payCompanyInfos[i].wxPayJsonVo.callbackAddress;
                }
            }else if (j==2) {
                editzhifubao(i);
                var type = "2";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                if (payCompanyInfos[i].zfbPayJsonVo.callbackAddress == undefined){
                    document.getElementById("editaliCallback").value="";
                }else {
                    document.getElementById("editaliCallback").value=payCompanyInfos[i].zfbPayJsonVo.callbackAddress;
                }

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark1").value="";
                }else {
                    document.getElementById("editremark1").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editpid").value=payCompanyInfos[i].zfbPayJsonVo.pid;
                document.getElementById("editappID1").value=payCompanyInfos[i].zfbPayJsonVo.appID;
                document.getElementById("editprivateKey").value=payCompanyInfos[i].zfbPayJsonVo.privateKey;
                document.getElementById("editpublicKey").value=payCompanyInfos[i].zfbPayJsonVo.publicKey;
                document.getElementById("editalipayPublicKey").value=payCompanyInfos[i].zfbPayJsonVo.alipayPublicKey;
                document.getElementById("editpayType2").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=zpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=zpaytype]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=zpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=zpaytype]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=zpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=zpaytype]').trigger("change");
                }
            }else if (j==3) {
                editicbc(i);
                var type = "3";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editicbcRemark").value="";
                }else {
                    document.getElementById("editicbcRemark").value=payCompanyInfos[i].remark;
                }
                //document.getElementById("editicbcMchid").value=payCompanyInfos[i].icbcVo.merId;
                document.getElementById("editicbcAppId").value=payCompanyInfos[i].icbcVo.appId;
                document.getElementById("editmerSerId").value=payCompanyInfos[i].icbcVo.merSerId;
                document.getElementById("editmerSerPrtclNo").value=payCompanyInfos[i].icbcVo.merSerPrtclNo;
                document.getElementById("editicbcPrivateKey").value=payCompanyInfos[i].icbcVo.privateKey;
                document.getElementById("editicbcPublicKey").value=payCompanyInfos[i].icbcVo.publicKey;
                document.getElementById("editicbcPayType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editicbcPayTypeselect]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editicbcPayTypeselect]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editicbcPayTypeselect]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editicbcPayTypeselect]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editicbcPayTypeselect]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editicbcPayTypeselect]').trigger("change");
                }
            }else if (j==4) {
                var type = "4";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editunion(i);

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark2").value="";
                }else {
                    document.getElementById("editremark2").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editkey1").value=payCompanyInfos[i].unionJsonPayVo.key;
                document.getElementById("editmchid1").value=payCompanyInfos[i].unionJsonPayVo.mchid;
                document.getElementById("editpayType3").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editunionpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionpaytype]').trigger("change");
                    document.getElementById("editunionCallback").value=payCompanyInfos[i].unionJsonPayVo.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editunionpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionpaytype]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editunionpaytype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionpaytype]').trigger("change");
                    document.getElementById("editunionCallback").value=payCompanyInfos[i].unionJsonPayVo.callbackAddress;
                }
            }else if (j==5) {
                var type = "5";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editQDNS(i);

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark3").value="";
                }else {
                    document.getElementById("editremark3").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editcommid").value=payCompanyInfos[i].qingDaoNongShangJsonVo.commid;
                document.getElementById("editcommoperid").value=payCompanyInfos[i].qingDaoNongShangJsonVo.commoperid;
                document.getElementById("editcommstoreno").value=payCompanyInfos[i].qingDaoNongShangJsonVo.commstoreno;
                document.getElementById("editdevsn").value=payCompanyInfos[i].qingDaoNongShangJsonVo.devsn;
                document.getElementById("editqingDaoNongShangkey").value=payCompanyInfos[i].qingDaoNongShangJsonVo.key;
                document.getElementById("editpayType4").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editqingDaoNongShangtype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqingDaoNongShangtype]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editqingDaoNongShangtype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqingDaoNongShangtype]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editqingDaoNongShangtype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqingDaoNongShangtype]').trigger("change");
                }
            }else if (j==6) {
                var type = "6";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editShouQianBa(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark4").value="";
                }else {
                    document.getElementById("editremark4").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editterminal_sn").value=payCompanyInfos[i].shouQianBaVo.terminal_sn;
                document.getElementById("editterminal_key").value=payCompanyInfos[i].shouQianBaVo.terminal_key;
                document.getElementById("editShouQianBaPayTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editShouQianBaPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editShouQianBaPayType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editShouQianBaPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editShouQianBaPayType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editShouQianBaPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editShouQianBaPayType]').trigger("change");
                }
            }else if (j==7) {
                var type = "7";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editccbb(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editccbbremark").value="";
                }else {
                    document.getElementById("editccbbremark").value=payCompanyInfos[i].remark;
                }

                if (payCompanyInfos[i].ccbbVo.merchantid != undefined){
                    document.getElementById("editMERCHANTID").value=payCompanyInfos[i].ccbbVo.merchantid;
                    document.getElementById("editPOSID").value=payCompanyInfos[i].ccbbVo.posid;
                    document.getElementById("editBRANCHID").value=payCompanyInfos[i].ccbbVo.branchid;
                    document.getElementById("editccbbPubKey").value=payCompanyInfos[i].ccbbVo.publicKey;
                    document.getElementById("editUSERID").value=payCompanyInfos[i].ccbbVo.userid;
                    document.getElementById("editccbbPASSWORD").value=payCompanyInfos[i].ccbbVo.password;
                    document.getElementById("editport").value=payCompanyInfos[i].ccbbVo.port;
                    $("#editcheckboxju").prop("checked", true);
                    editcheckboxOnclick({checked:true});
                }else {
                    $("#editcheckboxju").prop("checked", false);
                    editcheckboxOnclick({checked:false});
                }

                if (payCompanyInfos[i].ccbbVo.dcmerchantid != undefined){
                    document.getElementById("editDCMERCHANTID").value=payCompanyInfos[i].ccbbVo.dcmerchantid;
                    document.getElementById("editDCPOSID").value=payCompanyInfos[i].ccbbVo.dcposid;
                    document.getElementById("editDCBRANCHID").value=payCompanyInfos[i].ccbbVo.dcbranchid;
                    document.getElementById("editccbbDCPubKey").value=payCompanyInfos[i].ccbbVo.dcpublicKey;
                    document.getElementById("editDCpubKey1").value=payCompanyInfos[i].ccbbVo.dcpubKey1;
                    document.getElementById("editDCpriKey1").value=payCompanyInfos[i].ccbbVo.dcpriKey1;
                    document.getElementById("editDCpubKey2").value=payCompanyInfos[i].ccbbVo.dcpubKey2;
                    document.getElementById("editDCFTCORPID").value=payCompanyInfos[i].ccbbVo.dcftcorpid;
                    document.getElementById("editDCUSERID").value=payCompanyInfos[i].ccbbVo.dcuserid;
                    document.getElementById("editDCPASSWORD").value=payCompanyInfos[i].ccbbVo.dcpassword;
                    $("#editcheckboxshu").prop("checked", true);
                    editcheckboxTwoclick({checked:true});
                }else {
                    $("#editcheckboxshu").prop("checked", false);
                    editcheckboxTwoclick({checked:false});
                }


                if (payCompanyInfos[i].ccbbVo.scan_mchtNo != undefined){
                    document.getElementById("editmchIdSCANPAY").value=payCompanyInfos[i].ccbbVo.scan_mchtNo;
                    document.getElementById("edittermNoSCANPAY").value=payCompanyInfos[i].ccbbVo.scan_termNo;
                    document.getElementById("editposIdSCANPAY").value=payCompanyInfos[i].ccbbVo.scan_posid;
                    document.getElementById("editposIdSCANPAY").value=payCompanyInfos[i].ccbbVo.scan_key;
                    document.getElementById("editauthcodeSCANPAY").value=payCompanyInfos[i].ccbbVo.scan_authCode;
                    $("#editcheckboxFour").prop("checked", true);
                    editcheckboxFourclick({checked:true});
                }else {
                    $("#editcheckboxFour").prop("checked", false);
                    editcheckboxFourclick({checked:false});
                }



                if (payCompanyInfos[i].ccbbVo.appId != undefined){
                    document.getElementById("editappidUNIONPAYPS").value=payCompanyInfos[i].ccbbVo.appId;
                    document.getElementById("editappkeyUNIONPAYPS").value=payCompanyInfos[i].ccbbVo.appKey;
                    document.getElementById("editmerchantCodeUNIONPAYPS").value=payCompanyInfos[i].ccbbVo.merchantCode;
                    document.getElementById("editterminalCodeUNIONPAYPS").value=payCompanyInfos[i].ccbbVo.terminalCode;
                    $("#editcheckboxThree").prop("checked", true);
                    editcheckboxThreeclick({checked:true});
                }else {
                    $("#editcheckboxThree").prop("checked", false);
                    editcheckboxThreeclick({checked:false});
                }

                document.getElementById("editccbbPayTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editccbbPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editccbbPayType]').trigger("change");
                    document.getElementById("editccbbCallback").value=payCompanyInfos[i].ccbbVo.callbackAddress;
                    document.getElementById("editccbbAPPID").value=payCompanyInfos[i].ccbbVo.wxappid;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editccbbPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editccbbPayType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editccbbPayType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editccbbPayType]').trigger("change");
                    document.getElementById("editccbbCallback").value=payCompanyInfos[i].ccbbVo.callbackAddress;
                    document.getElementById("editccbbAPPID").value=payCompanyInfos[i].ccbbVo.wxappid;
                }
            }else if (j==8) {
                var type = "8";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editkanclouds(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editkancloudRemark").value="";
                }else {
                    document.getElementById("editkancloudRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editmerchantNum").value=payCompanyInfos[i].kancloudVo.merchant_num;
                document.getElementById("editkancloudKey").value=payCompanyInfos[i].kancloudVo.key;
                document.getElementById("editkancloudTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editkancloudType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editkancloudType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editkancloudType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editkancloudType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editkancloudType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editkancloudType]').trigger("change");
                }
            }else if (j==9) {
                var type = "9";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editleshua(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editleshuaRemark").value="";
                }else {
                    document.getElementById("editleshuaRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editleshuamerchantId").value=payCompanyInfos[i].leShua.merchant_id;
                document.getElementById("editleshuaKey").value=payCompanyInfos[i].leShua.key;
                document.getElementById("editleshuaTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editleshuaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editleshuaType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editleshuaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editleshuaType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editleshuaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editleshuaType]').trigger("change");
                }
            }else if (j==10) {
                var type = "10";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editchinaums(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editchinaumsRemark").value="";
                }else {
                    document.getElementById("editchinaumsRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editchinaumsmerchantId").value=payCompanyInfos[i].chinaums.merid;
                document.getElementById("editchinaumsKey").value=payCompanyInfos[i].chinaums.key;
                document.getElementById("editchinaumsdevsn").value=payCompanyInfos[i].chinaums.devsn;
                document.getElementById("editleshuaTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editchinaumsType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editchinaumsType]').trigger("change");
                    document.getElementById("editchinaumsCallback").value=payCompanyInfos[i].chinaums.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editchinaumsType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editchinaumsType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editchinaumsType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editchinaumsType]').trigger("change");
                    document.getElementById("editchinaumsCallback").value=payCompanyInfos[i].chinaums.callbackAddress;
                }
            }else if (j==11) {
                var type = "11";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editunionschool(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editunionschoolRemark").value="";
                }else {
                    document.getElementById("editunionschoolRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editunionschoolBrandId").value=payCompanyInfos[i].unionSchool.brand_id;
                document.getElementById("editunionschoolOpshopId").value=payCompanyInfos[i].unionSchool.op_shop_id;
                document.getElementById("editunionschoolBussType").value=payCompanyInfos[i].unionSchool.buss_type;
                document.getElementById("editunionschoolKey").value=payCompanyInfos[i].unionSchool.key;
                document.getElementById("editleshuaTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editunionschoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionschoolType]').trigger("change");
                    document.getElementById("unionschoolCallback").value=payCompanyInfos[i].unionSchool.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editunionschoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionschoolType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editunionschoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editunionschoolType]').trigger("change");
                    document.getElementById("unionschoolCallback").value=payCompanyInfos[i].unionSchool.callbackAddress;
                }
            }else if (j==12) {
                var type = "12";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editFuHuiBa(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editFuHuiBaRemark").value="";
                }else {
                    document.getElementById("editFuHuiBaRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editFuHuiBaKey").value=payCompanyInfos[i].fuHuiBaVo.key;
                document.getElementById("editFuHuiBaTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editFuHuiBaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editFuHuiBaType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editFuHuiBaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editFuHuiBaType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editFuHuiBaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editFuHuiBaType]').trigger("change");
                }
            }else if (j==15) {
                var type = "15";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editabc(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editabcRemark").value="";
                }else {
                    document.getElementById("editabcRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editabcmerchantID").value=payCompanyInfos[i].abc.merchantID;
                document.getElementById("editabcmerchantPrivateKey").value=payCompanyInfos[i].abc.merchantPrivateKey;
                document.getElementById("editreceiveAccount").value=payCompanyInfos[i].abc.receiveAccount;
                document.getElementById("editterminalNo").value=payCompanyInfos[i].abc.terminalNo;
                document.getElementById("editabcTypes").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editabcbType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editabcbType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editabcbType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editabcbType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editabcbType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editabcbType]').trigger("change");
                }
            }else if(j==16){
                editqingsongfu(i);
                var type = "16";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark").value="";
                }else {
                    document.getElementById("editremark").value=payCompanyInfos[i].remark;
                }
                //判断是否选中子商户
                if (payCompanyInfos[i].qsf.sub_appid==null || payCompanyInfos[i].qsf.sub_appid==undefined){
                    $("#editqsfZiAppID").hide();
                    $("#editqsfChildAppID").removeAttr("name");
                    $("#editqsfChildAppID").removeAttr("required");
                    $("#editqsfsubMchids").hide();
                    $("#editqsfSubMchid").removeAttr("name");
                    $("#editqsfSubMchid").removeAttr("required");

                    $("#editqsfXiuyaoZiShangHu").removeAttr("checked");
                    $("#editqsfBuxiuyaoZiShangHu").attr("checked","checked");
                    document.getElementById("editqsfChildAppID").value="";
                    document.getElementById("editqsfSubMchid").value="";
                }else {
                    $("#editqsfZiAppID").show();
                    $("#editqsfsubMchids").show();
                    $("#editqsfBuxiuyaoZiShangHu").removeAttr("checked");
                    $("#editqsfXiuyaoZiShangHu").attr("checked","checked");
                    $("#editqsfChildAppID").attr("name","payCompanyInfos["+$("#editqsfIsCallback").val()+"].qsf.sub_appid");
                    $("#editqsfSubMchid").attr("name","payCompanyInfos["+$("#editqsfIsCallback").val()+"].qsf.sub_mchid");
                    document.getElementById("editqsfChildAppID").value=payCompanyInfos[i].qsf.sub_appid;
                    document.getElementById("editqsfSubMchid").value=payCompanyInfos[i].qsf.sub_mchid;
                }
                var id = payCompanyInfos[i].id;
                document.getElementById("editqsfappID").value=payCompanyInfos[i].qsf.appid;
                document.getElementById("editqsfmchid").value=payCompanyInfos[i].qsf.mchid;
                document.getElementById("editqsfmchSerialNo").value=payCompanyInfos[i].qsf.mchSerialNo;
                document.getElementById("editqsfcertificate").value=payCompanyInfos[i].qsf.certificate;
                document.getElementById("editwechatpaySerial").value=payCompanyInfos[i].qsf.wechatpaySerial;
                document.getElementById("editapiV3Key").value=payCompanyInfos[i].qsf.apiV3Key;
                document.getElementById("editwxChannel").value=payCompanyInfos[i].qsf.wx_channel;
                document.getElementById("editqsfprivateKey").value=payCompanyInfos[i].qsf.privateKey;
                if (payCompanyInfos[i].qsf.schoolId == undefined){
                    document.getElementById("editqsfSchoolId").value="";
                }else {
                    document.getElementById("editqsfSchoolId").value=payCompanyInfos[i].qsf.schoolId;
                }
                if (payCompanyInfos[i].qsf.organizationId == undefined){
                    document.getElementById("editqsfOrganizationId").value="";
                }else {
                    document.getElementById("editqsfOrganizationId").value=payCompanyInfos[i].qsf.organizationId;
                }
                if (payCompanyInfos[i].qsf.key == undefined){
                    document.getElementById("editqsfkey").value="";
                }else {
                    document.getElementById("editqsfkey").value=payCompanyInfos[i].qsf.key;
                }

                document.getElementById("editqsftypes").value=payType;
                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editqsftype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqsftype]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editqsftype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqsftype]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editqsftype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqsftype]').trigger("change");
                }
                if (payType.substring(3,4) ==1) {
                    var groupId = "4";
                    $('#editForm').find('[name=editqsftype]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editqsftype]').trigger("change");
                }
            }else if(j==19){
                editHuiYinTong(i);
                var type = "19";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editremark").value="";
                }else {
                    document.getElementById("editremark").value=payCompanyInfos[i].remark;
                }
                var id = payCompanyInfos[i].id;
                document.getElementById("editInstNo").value=payCompanyInfos[i].huiYinTong.instNo;
                document.getElementById("editMerchId").value=payCompanyInfos[i].huiYinTong.merchId;
                document.getElementById("editTermId").value=payCompanyInfos[i].huiYinTong.termId;
                document.getElementById("edithuiYinTongKey").value=payCompanyInfos[i].huiYinTong.key;
                document.getElementById("edithuiYinTongTypes").value=payType;
                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=edithuiYinTongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithuiYinTongType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=edithuiYinTongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithuiYinTongType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=edithuiYinTongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithuiYinTongType]').trigger("change");
                }
                if (payType.substring(3,4) ==1) {
                    var groupId = "4";
                    $('#editForm').find('[name=edithuiYinTongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithuiYinTongType]').trigger("change");
                }
            }else if (j==20) {
                var type = "20";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editbocom(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editbocomRemark").value="";
                }else {
                    document.getElementById("editbocomRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editbocomMerPtcId").value=payCompanyInfos[i].bocom.merPtcId;
                document.getElementById("editbocomAppID").value=payCompanyInfos[i].bocom.appID;
                document.getElementById("editmyPrivateKey").value=payCompanyInfos[i].bocom.myPrivateKey;
                document.getElementById("editapigwPublicKey").value=payCompanyInfos[i].bocom.apigwPublicKey;
                document.getElementById("editbocomType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editbocomType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editbocomType]').trigger("change");
                    document.getElementById("editbocomCallback").value=payCompanyInfos[i].bocom.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editbocomType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editbocomType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editbocomType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editbocomType]').trigger("change");
                    document.getElementById("editbocomCallback").value=payCompanyInfos[i].bocom.callbackAddress;
                }
            }else if (j==22) {
                var type = "22";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editlaKaLa(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editlaKaLaRemark").value="";
                }else {
                    document.getElementById("editlaKaLaRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editlaKaLaAppid").value=payCompanyInfos[i].laKaLaVo.appid;
                document.getElementById("editlaKaLaMchSerialNo").value=payCompanyInfos[i].laKaLaVo.mchSerialNo;
                document.getElementById("editlaKaLaMerchantNo").value=payCompanyInfos[i].laKaLaVo.merchantNo;
                document.getElementById("editlaKaLaTermNo").value=payCompanyInfos[i].laKaLaVo.termNo;
                document.getElementById("editlaKaLaType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editlaKaLaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlaKaLaType]').trigger("change");
                    document.getElementById("editlaKaLaCallback").value=payCompanyInfos[i].laKaLaVo.callbackAddress;
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editlaKaLaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlaKaLaType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editlaKaLaType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlaKaLaType]').trigger("change");
                    document.getElementById("editlaKaLaCallback").value=payCompanyInfos[i].laKaLaVo.callbackAddress;
                }
            }else if (j==23) {
                var type = "23";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editpsbc(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editpsbcRemark").value="";
                }else {
                    document.getElementById("editpsbcRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editpsbcMercId").value=payCompanyInfos[i].psbc.mercId;
                document.getElementById("editpsbcType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editpsbcType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpsbcType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editpsbcType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpsbcType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editpsbcType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editpsbcType]').trigger("change");
                }
            }else if (j==24) {
                var type = "24";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editsaobei(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editpsbcRemark").value="";
                }else {
                    document.getElementById("editpsbcRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editsaobeiMerchantNo").value=payCompanyInfos[i].saoBei.merchantNo;
                document.getElementById("editsaobeiTerminalId").value=payCompanyInfos[i].saoBei.terminalId;
                document.getElementById("editsaobeiTokenKey").value=payCompanyInfos[i].saoBei.tokenKey;
                document.getElementById("editsaobeiType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editsaobeiType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editsaobeiType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editsaobeiType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editsaobeiType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editsaobeiType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editsaobeiType]').trigger("change");
                }
            }else if (j==25) {
                var type = "25";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                edithaike(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("edithaikeRemark").value="";
                }else {
                    document.getElementById("edithaikeRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("edithaikemerchantNum").value=payCompanyInfos[i].haiKeVo.merchantNum;
                document.getElementById("edithaikeappid").value=payCompanyInfos[i].haiKeVo.appid;
                document.getElementById("edithaikestoreNum").value=payCompanyInfos[i].haiKeVo.storeNum;
                document.getElementById("edithaikestaffNum").value=payCompanyInfos[i].haiKeVo.staffNum;
                document.getElementById("edithaikekey").value=payCompanyInfos[i].haiKeVo.key;
                document.getElementById("edithaikeType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=edithaikeType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithaikeType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=edithaikeType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithaikeType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=edithaikeType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edithaikeType]').trigger("change");
                }
            }else if (j==26) {
                var type = "26";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editfuyou(i);
                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editfuyouRemark").value="";
                }else {
                    document.getElementById("editfuyouRemark").value=payCompanyInfos[i].remark;
                }
                document.getElementById("editfuyoumchntCd").value=payCompanyInfos[i].fuYouVo.mchntCd;
                document.getElementById("editfuyouType").value=payType;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editfuyouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editfuyouType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editfuyouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editfuyouType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editfuyouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editfuyouType]').trigger("change");
                }
            }else if (j==27) {
                var type = "27";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editlongzhimeng(i);

                document.getElementById("editlongzhimengmchId").value=payCompanyInfos[i].longZhiMengVo.mchId;
                document.getElementById("editlongzhimengappid").value=payCompanyInfos[i].longZhiMengVo.appid;
                document.getElementById("editlongzhimengmd5").value=payCompanyInfos[i].longZhiMengVo.md5;
                document.getElementById("editlongzhimengType").value=payType;
                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editlongzhimengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlongzhimengType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editlongzhimengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlongzhimengType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editlongzhimengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlongzhimengType]').trigger("change");
                }

            }else if (j==28) {
                var type = "28";

                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                console.log(i)

                editalischool(i);

                document.getElementById("editalischoolType").value=payType;

                document.getElementById("editalischoolxcxAppId").value=payCompanyInfos[i].aliSchoolVo.xcxAppId;
                document.getElementById("editalischoolxcxPrivateKey").value=payCompanyInfos[i].aliSchoolVo.xcxPrivateKey;
                document.getElementById("editalischoolxcxAlipayPublicKey").value=payCompanyInfos[i].aliSchoolVo.xcxAlipayPublicKey;
                document.getElementById("editalischoolcertType").value=payCompanyInfos[i].aliSchoolVo.certType;
                document.getElementById("editalischoolschoolStdCode").value=payCompanyInfos[i].aliSchoolVo.schoolStdCode;
                document.getElementById("editalischoolschoolStdOutCode").value=payCompanyInfos[i].aliSchoolVo.schoolStdOutCode;
                document.getElementById("editalischoolscene").value=payCompanyInfos[i].aliSchoolVo.scene;
                document.getElementById("editalischooldk").value=payCompanyInfos[i].aliSchoolVo.dk;
                document.getElementById("editalischoolsignCallbackUrl").value=payCompanyInfos[i].aliSchoolVo.signCallbackUrl;
                document.getElementById("editalischoolappId").value=payCompanyInfos[i].aliSchoolVo.appId;
                document.getElementById("editalischoolprivateKey").value=payCompanyInfos[i].aliSchoolVo.privateKey;
                document.getElementById("editalischoolalipayPublicKey").value=payCompanyInfos[i].aliSchoolVo.alipayPublicKey;
                document.getElementById("editalischoolxcxAes").value=payCompanyInfos[i].aliSchoolVo.xcxAes;
                document.getElementById("editalischoolisvPid").value=payCompanyInfos[i].aliSchoolVo.isvPid;
                document.getElementById("editalischoolisvName").value=payCompanyInfos[i].aliSchoolVo.isvName;
                document.getElementById("editalischoolmerchantId").value=payCompanyInfos[i].aliSchoolVo.merchantId;
                document.getElementById("editalischoolmerchantName").value=payCompanyInfos[i].aliSchoolVo.merchantName;
                document.getElementById("editalischoolmerchantPayPid").value=payCompanyInfos[i].aliSchoolVo.merchantPayPid;
                document.getElementById("editalischooldzCallbackUrl").value=payCompanyInfos[i].aliSchoolVo.dzCallbackUrl;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editalischoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editalischoolType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editalischoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editalischoolType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editalischoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editalischoolType]').trigger("change");
                }

                if (payType.substring(3,4) ==1) {
                    var groupId = "4";
                    $('#editForm').find('[name=editalischoolType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editalischoolType]').trigger("change");
                }
            }else if (j==29){
                var type = "29";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                editzhongshantong(i);

                document.getElementById("editzhongshantongType").value=payType;

                if (payCompanyInfos[i].remark == undefined){
                    document.getElementById("editzhongshantongRemark").value="";
                }else {
                    document.getElementById("editzhongshantongRemark").value=payCompanyInfos[i].remark;
                }

                document.getElementById("editzhongshantongDevice").value=payCompanyInfos[i].zhongShanTongVO.device;
                document.getElementById("editzhongshantongKey").value=payCompanyInfos[i].zhongShanTongVO.key;
                document.getElementById("editzhongshantongAccount").value=payCompanyInfos[i].zhongShanTongVO.account;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editzhongshantongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhongshantongType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editzhongshantongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhongshantongType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editzhongshantongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhongshantongType]').trigger("change");
                }
            }else if (j==30){
                var type = "30";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                editzhaohangyiwangtong(i);

                document.getElementById("editzhaohangyiwangtongType").value=payType;


                document.getElementById("editzhaohangyiwangtongActive").value=payCompanyInfos[i].zhaoHangYiWangTongVO.active;
                document.getElementById("editzhaohangyiwangtongBranchNo").value=payCompanyInfos[i].zhaoHangYiWangTongVO.branchNo;
                document.getElementById("editzhaohangyiwangtongMerchantNo").value=payCompanyInfos[i].zhaoHangYiWangTongVO.merchantNo;
                document.getElementById("editzhaohangyiwangtongPayNoticeUrl").value=payCompanyInfos[i].zhaoHangYiWangTongVO.payNoticeUrl;
                document.getElementById("editzhaohangyiwangtongReturnUrl").value=payCompanyInfos[i].zhaoHangYiWangTongVO.returnUrl;
                document.getElementById("editzhaohangyiwangtongSignNoticeUrl").value=payCompanyInfos[i].zhaoHangYiWangTongVO.signNoticeUrl;
                document.getElementById("editzhaohangyiwangtongKey").value=payCompanyInfos[i].zhaoHangYiWangTongVO.key;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editzhaohangyiwangtongType]').trigger("change");
                }
            }else if (j==31){
                var type = "31";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                editquzhouyimafu(i);

                document.getElementById("editquzhouyimafuType").value=payType;


                document.getElementById("editquzhouyimafuUrl").value=payCompanyInfos[i].quZhouYiMaFuVO.url;
                document.getElementById("editquzhouyimafuMerchantId").value=payCompanyInfos[i].quZhouYiMaFuVO.merchantId;
                document.getElementById("editquzhouyimafuPlatformId").value=payCompanyInfos[i].quZhouYiMaFuVO.platformId;
                document.getElementById("editquzhouyimafuKey").value=payCompanyInfos[i].quZhouYiMaFuVO.key;
                document.getElementById("editquzhouyimafuAge").value=payCompanyInfos[i].quZhouYiMaFuVO.age;


                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editquzhouyimafuType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editquzhouyimafuType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editquzhouyimafuType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editquzhouyimafuType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editquzhouyimafuType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editquzhouyimafuType]').trigger("change");
                }
            }else if (j==32){
                var type = "32";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");

                editjianhangshenghuo(i);

                document.getElementById("editjianhangshenghuoType").value=payType;


                document.getElementById("editjianhangshenghuoUrl").value=payCompanyInfos[i].jianHangShengHuoVO.url;
                document.getElementById("editjianhangshenghuoKey").value=payCompanyInfos[i].jianHangShengHuoVO.key;
                document.getElementById("editjianhangshenghuoCCBIBSVersion").value=payCompanyInfos[i].jianHangShengHuoVO.CCBIBSVersion;
                document.getElementById("editjianhangshenghuoPtStyle").value=payCompanyInfos[i].jianHangShengHuoVO.ptStyle;
                document.getElementById("editjianhangshenghuoPtLanguage").value=payCompanyInfos[i].jianHangShengHuoVO.ptLanguage;
                document.getElementById("editjianhangshenghuoCampusId").value=payCompanyInfos[i].jianHangShengHuoVO.campusId;
                document.getElementById("editjianhangshenghuoCorpId").value=payCompanyInfos[i].jianHangShengHuoVO.corpId;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editjianhangshenghuoType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editjianhangshenghuoType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editjianhangshenghuoType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editjianhangshenghuoType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editjianhangshenghuoType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editjianhangshenghuoType]').trigger("change");
                }
            }else if(j == 33){
            	console.log("中信银行编辑")
            	console.log(payCompanyInfos)
               var type = "33";
               $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
               $('#editForm').find('[name=type]').trigger("change");

               editccbpay(i);

               document.getElementById("editccbpayType").value=payType;

                document.getElementById("editccbpayMchAppId").value=payCompanyInfos[i].ccbPayVo.OPENBUSITYPE;
                document.getElementById("editccbpayMchId").value=payCompanyInfos[i].ccbPayVo.OPENMERCODE;
                document.getElementById("editccbpayMchPwd").value=payCompanyInfos[i].ccbPayVo.OPENMERNAME;
               document.getElementById("editccbpayMchPrivateKey").value=payCompanyInfos[i].ccbPayVo.FRONTURL;
               document.getElementById("editccbpayPlatPublicKey").value=payCompanyInfos[i].ccbPayVo.MCHNO;
                document.getElementById("editccbpayPayNotifyUrl").value=payCompanyInfos[i].ccbPayVo.CERTGROUPNO;
                document.getElementById("editccbpayReqUrl").value=payCompanyInfos[i].ccbPayVo.REQENCRYPTPUBLICKEY;
               document.getElementById("editccbpayNotifyUrl").value=payCompanyInfos[i].ccbPayVo.REQSIGNPRIVATEKEY;
               document.getElementById("editccbpayEncryptHost").value=payCompanyInfos[i].ccbPayVo.RESDECRYPTPRIVATEKEY;
               document.getElementById("editccbpayNOTIFYURL").value=payCompanyInfos[i].ccbPayVo.NOTIFYURL;


               if (payType.substring(0,1) ==1) {
                   var groupId = "1";
                   $('#editForm').find('[name=editccbpayType]').find('option[value=' + groupId + ']').prop('selected', true);
                   $('#editForm').find('[name=editccbpayType]').trigger("change");
               }
               if (payType.substring(1,2) ==1) {
                   var groupId = "2";
                   $('#editForm').find('[name=editccbpayType]').find('option[value=' + groupId + ']').prop('selected', true);
                   $('#editForm').find('[name=editccbpayType]').trigger("change");
               }
               if (payType.substring(2,3) ==1) {
                   var groupId = "3";
                   $('#editForm').find('[name=editccbpayType]').find('option[value=' + groupId + ']').prop('selected', true);
                   $('#editForm').find('[name=editccbpayType]').trigger("change");
               }
            }else if(j == 34){
             console.log("银盛编辑")
                var type = "34";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
 				edityinsheng(i);
                document.getElementById("edityinshengType").value=payType;

                console.log("payType=====",payCompanyInfos[i])
                document.getElementById("edityinshengpartner_id").value=payCompanyInfos[i].yinshengVo.partner_id;
                document.getElementById("edityinshengseller_id").value=payCompanyInfos[i].yinshengVo.seller_id;
                document.getElementById("edityinshengappid").value=payCompanyInfos[i].yinshengVo.appid;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=edityinshengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edityinshengType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=edityinshengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edityinshengType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=edityinshengType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=edityinshengType]').trigger("change");
                }
             }else if(j == 37){
                console.log("兰州银行编辑")
                var type = "37";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editlanzhou(i);
                document.getElementById("editlanzhouType").value=payType;

                console.log("payType=====",payCompanyInfos[i])
                // document.getElementById("editlanzhouappKey").value=payCompanyInfos[i].lanzhouVo.appKey;
                // document.getElementById("editlanzhouserverPublicKey").value=payCompanyInfos[i].lanzhouVo.serverPublicKey;
                // document.getElementById("editlanzhouclientPrivateKey").value=payCompanyInfos[i].lanzhouVo.clientPrivateKey;
                // document.getElementById("editlanzhouclientproduct_id").value=payCompanyInfos[i].lanzhouVo.productId;
                document.getElementById("editlanzhouclientpartner").value=payCompanyInfos[i].lanzhouVo.partner;

                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editlanzhouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlanzhouType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editlanzhouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlanzhouType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editlanzhouType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editlanzhouType]').trigger("change");
                }
            }else if(j == 38){
                console.log("农行缴费编辑")
                var type = "38";
                $('#editForm').find('[name=type]').find('option[value=' + type + ']').prop('selected', true);
                $('#editForm').find('[name=type]').trigger("change");
                editnonghangjf(i);
                document.getElementById("editnonghangjfType").value=payType;

                console.log("payType=====",payCompanyInfos[i])
                console.log("payType=====",payType)
                // document.getElementById("editlanzhouappKey").value=payCompanyInfos[i].lanzhouVo.appKey;
                // document.getElementById("editlanzhouserverPublicKey").value=payCompanyInfos[i].lanzhouVo.serverPublicKey;
                // document.getElementById("editlanzhouclientPrivateKey").value=payCompanyInfos[i].lanzhouVo.clientPrivateKey;
                // document.getElementById("editlanzhouclientproduct_id").value=payCompanyInfos[i].lanzhouVo.productId;
                document.getElementById("editnonghangjfCompanyPrivateKey").value=payCompanyInfos[i].nonghangjfVo.companyPrivateKey;
                document.getElementById("editnonghangjfCompanyPublicKey").value=payCompanyInfos[i].nonghangjfVo.companyPublicKey;
                document.getElementById("editnonghangjfMerchantId").value=payCompanyInfos[i].nonghangjfVo.merchantId;
                if (payType.substring(0,1) ==1) {
                    var groupId = "1";
                    $('#editForm').find('[name=editnonghangjfType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editnonghangjfType]').trigger("change");
                }
                if (payType.substring(1,2) ==1) {
                    var groupId = "2";
                    $('#editForm').find('[name=editnonghangjfType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editnonghangjfType]').trigger("change");
                }
                if (payType.substring(2,3) ==1) {
                    var groupId = "3";
                    $('#editForm').find('[name=editnonghangjfType]').find('option[value=' + groupId + ']').prop('selected', true);
                    $('#editForm').find('[name=editnonghangjfType]').trigger("change");
                }
            }

        }
        document.getElementById("editoldpayChannel").value=aid;
    }
}


//清空文本框的值
function editremoveAttr() {
    //回调和子商户
    $("#editWXCallback").removeAttr("name");
    $("#editWXCallback").removeAttr("required");
    $("#editWXChildAppID").removeAttr("name");
    $("#editWXChildAppID").removeAttr("required");

    //工行聚合支付
    $("#editicbcPayType").removeAttr("name");
    //$("#editicbcMchid").removeAttr("name");
    $("#editicbcAppId").removeAttr("name");
    $("#editmerSerId").removeAttr("name");
    $("#editmerSerPrtclNo").removeAttr("name");
    $("#editicbcPrivateKey").removeAttr("name");
    $("#editicbcPublicKey").removeAttr("name");
    $("#editicbcRemark").removeAttr("name");

    $("#editicbcPayTypeselect").removeAttr("data-placeholder");
    $("#editicbcPayTypeselect").removeAttr("required");
    //$("#editicbcMchid").removeAttr("required");
    $("#editicbcAppId").removeAttr("required");
    $("#editmerSerId").removeAttr("required");
    $("#editmerSerPrtclNo").removeAttr("required");
    $("#editicbcPrivateKey").removeAttr("required");
    $("#editicbcPublicKey").removeAttr("required");

    $("#editappID").removeAttr("name");
    $("#editmchid").removeAttr("name");
    $("#editkey").removeAttr("name");
    $("#editAppSecret").removeAttr("name");
    $("#editremark").removeAttr("name");
    $("#editpayType").removeAttr("name");

    $("#editappID1").removeAttr("name");
    $("#editpid").removeAttr("name");
    $("#editprivateKey").removeAttr("name");
    $("#editpublicKey").removeAttr("name");
    $("#editalipayPublicKey").removeAttr("name");
    $("#editremark1").removeAttr("name");
    $("#editpayType2").removeAttr("name");

    $("#editmchid1").removeAttr("name");
    $("#editkey1").removeAttr("name");
    $("#editremark2").removeAttr("name");
    $("#editpayType3").removeAttr("name");

    $("#editpayType4").removeAttr("name");
    $("#editcommid").removeAttr("name");
    $("#editcommoperid").removeAttr("name");
    $("#editcommstoreno").removeAttr("name");
    $("#editdevsn").removeAttr("name");
    $("#editqingDaoNongShangkey").removeAttr("name");
    $("#editremark3").removeAttr("name");

    $("#editzpaytype").removeAttr("data-placeholder");
    $("#editzpaytype").removeAttr("required");
    $("#editappID1").removeAttr("required");
    $("#editpid").removeAttr("required");
    $("#editprivateKey").removeAttr("required");
    $("#editpublicKey").removeAttr("required");
    $("#editalipayPublicKey").removeAttr("required");

    $("#editpaytype1").removeAttr("data-placeholder");
    $("#editpaytype1").removeAttr("required");
    $("#editappID").removeAttr("required");
    $("#editmchid").removeAttr("required");
    $("#editkey").removeAttr("required");

    $("#editunionpaytype").removeAttr("data-placeholder");
    $("#editunionpaytype").removeAttr("required");
    $("#editmchid1").removeAttr("required");
    $("#editkey1").removeAttr("required");

    $("#editqingDaoNongShangtype").removeAttr("data-placeholder");
    $("#editqingDaoNongShangtype").removeAttr("required");
    $("#editcommid").removeAttr("required");
    $("#editcommoperid").removeAttr("required");
    $("#editcommstoreno").removeAttr("required");
    $("#editdevsn").removeAttr("required");
    $("#editqingDaoNongShangkey").removeAttr("required");

    //收钱吧
    $("#editShouQianBaPayType").removeAttr("data-placeholder");
    $("#editShouQianBaPayType").removeAttr("required");
    $("#editterminal_sn").removeAttr("required");
    $("#editterminal_key").removeAttr("required");

    $("#editShouQianBaPayTypes").removeAttr("name");
    $("#editterminal_sn").removeAttr("name");
    $("#editterminal_key").removeAttr("name");
    $("#editremark4").removeAttr("name");
    //移领吧
    $("#editkancloudType").removeAttr("data-placeholder");
    $("#editkancloudType").removeAttr("required");
    $("#editmerchantNum").removeAttr("required");
    $("#editkancloudKey").removeAttr("required");

    $("#editkancloudTypes").removeAttr("name");
    $("#editmerchantNum").removeAttr("name");
    $("#editkancloudKey").removeAttr("name");
    $("#editkancloudRemark").removeAttr("name");
    //龙支付
    $("#editccbbPayType").removeAttr("data-placeholder");
    $("#editccbbPayType").removeAttr("required");
    $("#editMERCHANTID").removeAttr("required");
    $("#editPOSID").removeAttr("required");
    $("#editBRANCHID").removeAttr("required");
    $("#editccbbPubKey").removeAttr("required");
    $("#editUSERID").removeAttr("required");
    $("#editccbbPASSWORD").removeAttr("required");
    $("#editport").removeAttr("required");

    $("#editccbbAPPID").removeAttr("required");
    $("#editccbbCallback").removeAttr("required");
    $("#editccbbAPPID").removeAttr("name");
    $("#editccbbCallback").removeAttr("name");

    $("#editDCMERCHANTID").removeAttr("required");
    $("#editDCPOSID").removeAttr("required");
    $("#editDCBRANCHID").removeAttr("required");
    $("#editccbbDCPubKey").removeAttr("required");
    $("#editDCpubKey1").removeAttr("required");
    $("#editDCpriKey1").removeAttr("required");
    $("#editDCpubKey2").removeAttr("required");
    $("#editDCFTCORPID").removeAttr("required");
    $("#editDCUSERID").removeAttr("required");
    $("#editDCPASSWORD").removeAttr("required");

    $("#editappidUNIONPAYPS").removeAttr("required");
    $("#editappkeyUNIONPAYPS").removeAttr("required");
    $("#editmerchantCodeUNIONPAYPS").removeAttr("required");
    $("#editterminalCodeUNIONPAYPS").removeAttr("required");


    $("#editMERCHANTID").removeAttr("name");
    $("#editPOSID").removeAttr("name");
    $("#editBRANCHID").removeAttr("name");
    $("#editccbbPubKey").removeAttr("name");
    $("#editUSERID").removeAttr("name");
    $("#editccbbPASSWORD").removeAttr("name");
    $("#editport").removeAttr("name");

    $("#editDCMERCHANTID").removeAttr("name");
    $("#editDCPOSID").removeAttr("name");
    $("#editDCBRANCHID").removeAttr("name");
    $("#editccbbDCPubKey").removeAttr("name");
    $("#editDCpubKey1").removeAttr("name");
    $("#editDCpriKey1").removeAttr("name");
    $("#editDCpubKey2").removeAttr("name");
    $("#editDCFTCORPID").removeAttr("name");
    $("#editDCUSERID").removeAttr("name");
    $("#editDCPASSWORD").removeAttr("name");

    $("#editappidUNIONPAYPS").removeAttr("name");
    $("#editappkeyUNIONPAYPS").removeAttr("name");
    $("#editmerchantCodeUNIONPAYPS").removeAttr("name");
    $("#editterminalCodeUNIONPAYPS").removeAttr("name");

    $("#editccbbremark").removeAttr("name");
    $("#editccbbPayTypes").removeAttr("name");

    //乐刷
    $("#editleshuaType").removeAttr("data-placeholder");
    $("#editleshuaType").removeAttr("required");
    $("#editleshuamerchantId").removeAttr("required");
    $("#editleshuaKey").removeAttr("required");

    $("#editleshuaTypes").removeAttr("name");
    $("#editleshuamerchantId").removeAttr("name");
    $("#editleshuaKey").removeAttr("name");
    $("#editleshuaRemark").removeAttr("name");


    //农行
    $("#editabcbType").removeAttr("data-placeholder");
    $("#editabcbType").removeAttr("required");
    $("#editabcmerchantID").removeAttr("required");
    $("#editabcmerchantPrivateKey").removeAttr("required");
    $("#editterminalNo").removeAttr("required");

    $("#editabcTypes").removeAttr("name");
    $("#editabcmerchantID").removeAttr("name");
    $("#editabcmerchantPrivateKey").removeAttr("name");
    $("#editreceiveAccount").removeAttr("name");
    $("#editterminalNo").removeAttr("name");
    $("#editabcRemark").removeAttr("name");
    //大华捷通
    $("#editchinaumsType").removeAttr("data-placeholder");
    $("#editchinaumsType").removeAttr("required");
    $("#editchinaumsmerchantId").removeAttr("required");
    $("#editchinaumsKey").removeAttr("required");

    $("#editchinaumsTypes").removeAttr("name");
    $("#editchinaumsmerchantId").removeAttr("name");
    $("#editchinaumsKey").removeAttr("name");
    $("#editchinaumsRemark").removeAttr("name");

    //银联校园版
    $("#editunionschoolType").removeAttr("data-placeholder");
    $("#editunionschoolType").removeAttr("required");
    $("#editunionschoolBrandId").removeAttr("required");
    $("#editunionschoolOpshopId").removeAttr("required");
    $("#editunionschoolBussType").removeAttr("required");
    $("#editunionschoolKey").removeAttr("required");

    $("#editunionschoolTypes").removeAttr("name");
    $("#editunionschoolBrandId").removeAttr("name");
    $("#editunionschoolOpshopId").removeAttr("name");
    $("#editunionschoolBussType").removeAttr("name");
    $("#editunionschoolKey").removeAttr("name");
    $("#editunionschoolRemark").removeAttr("name");

    //付惠吧
    $("#editFuHuiBaType").removeAttr("data-placeholder");
    $("#editFuHuiBaType").removeAttr("required");
    $("#editFuHuiBaKey").removeAttr("required");

    $("#editFuHuiBaTypes").removeAttr("name");
    $("#editFuHuiBaKey").removeAttr("name");
    $("#editFuHuiBaRemark").removeAttr("name");

    //轻松付
    $("#editqsftype").removeAttr("data-placeholder");
    $("#editqsftype").removeAttr("required");
    $("#editqsfChildAppID").removeAttr("required");
    $("#editqsfSubMchid").removeAttr("required");
    $("#editqsfappID").removeAttr("required");
    $("#editqsfmchid").removeAttr("required");
    $("#editqsfmchSerialNo").removeAttr("required");
    $("#editqsfSchoolId").removeAttr("required");
    $("#editqsfcertificate").removeAttr("required");
    $("#editwechatpaySerial").removeAttr("required");
    $("#editapiV3Key").removeAttr("required");
    $("#editwxChannel").removeAttr("required");
    $("#editqsfprivateKey").removeAttr("required");

    $("#editqsftypes").removeAttr("name");
    $("#editqsfChildAppID").removeAttr("name");
    $("#editqsfSubMchid").removeAttr("name");
    $("#editqsfappID").removeAttr("name");
    $("#editqsfmchid").removeAttr("name");
    $("#editqsfmchSerialNo").removeAttr("name");
    $("#editqsfSchoolId").removeAttr("name");
    $("#editqsfOrganizationId").removeAttr("name");
    $("#editqsfkey").removeAttr("name");
    $("#editqsfcertificate").removeAttr("name");
    $("#editwechatpaySerial").removeAttr("name");
    $("#editapiV3Key").removeAttr("name");
    $("#editwxChannel").removeAttr("name");
    $("#editqsfprivateKey").removeAttr("name");
    $("#editqsfremark").removeAttr("name");

    //汇银通POS
    $("#edithuiYinTongType").removeAttr("data-placeholder");
    $("#edithuiYinTongType").removeAttr("required");
    $("#editInstNo").removeAttr("required");
    $("#editMerchId").removeAttr("required");
    $("#editTermId").removeAttr("required");
    $("#edithuiYinTongKey").removeAttr("required");

    $("#edithuiYinTongTypes").removeAttr("name");
    $("#editInstNo").removeAttr("name");
    $("#editMerchId").removeAttr("name");
    $("#editTermId").removeAttr("name");
    $("#edithuiYinTongKey").removeAttr("name");
    $("#edithuiYinTongremark").removeAttr("name");

    //交行
    $("#editbocomType").removeAttr("data-placeholder");
    $("#editbocomType").removeAttr("required");
    $("#editbocomMerPtcId").removeAttr("required");
    $("#editbocomAppID").removeAttr("required");
    $("#editmyPrivateKey").removeAttr("required");
    $("#editapigwPublicKey").removeAttr("required");
    $("#editbocomCallback").removeAttr("required");

    $("#editbocomTypes").removeAttr("name");
    $("#editbocomMerPtcId").removeAttr("name");
    $("#editbocomAppID").removeAttr("name");
    $("#editmyPrivateKey").removeAttr("name");
    $("#editapigwPublicKey").removeAttr("name");
    $("#editbocomCallback").removeAttr("name");
    $("#editbocomRemark").removeAttr("name");

    //拉卡拉
    $("#editlaKaLaType").removeAttr("data-placeholder");
    $("#editlaKaLaType").removeAttr("required");
    $("#editlaKaLaAppid").removeAttr("required");
    $("#editlaKaLaMchSerialNo").removeAttr("required");
    $("#editlaKaLaMerchantNo").removeAttr("required");
    $("#editlaKaLaTermNo").removeAttr("required");
    $("#editlaKaLaCallback").removeAttr("required");

    $("#editlaKaLaTypes").removeAttr("name");
    $("#editlaKaLaAppid").removeAttr("name");
    $("#editbocomAppID").removeAttr("name");
    $("#editlaKaLaMchSerialNo").removeAttr("name");
    $("#editlaKaLaMerchantNo").removeAttr("name");
    $("#editlaKaLaTermNo").removeAttr("name");
    $("#editlaKaLaRemark").removeAttr("name");

    //邮政
    $("#editpsbcType").removeAttr("data-placeholder");
    $("#editpsbcType").removeAttr("required");
    $("#editpsbcMercId").removeAttr("required");


    $("#editpsbcTypes").removeAttr("name");
    $("#editpsbcMercId").removeAttr("name");
    $("#editpsbcRemark").removeAttr("name");

    //扫呗
    $("#editsaobeiType").removeAttr("data-placeholder");
    $("#editsaobeiType").removeAttr("required");
    $("#editsaobeiMerchantNo").removeAttr("required");
    $("#editsaobeiTerminalId").removeAttr("required");
    $("#editsaobeiTokenKey").removeAttr("required");


    $("#editsaobeiTypes").removeAttr("name");
    $("#editsaobeiMerchantNo").removeAttr("name");
    $("#editsaobeiTerminalId").removeAttr("name");
    $("#editsaobeiTokenKey").removeAttr("name");
    $("#editsaobeiRemark").removeAttr("name");

    //嗨客
    $("#edithaikeType").removeAttr("data-placeholder");
    $("#edithaikeType").removeAttr("required");
    $("#edithaikemerchantNum").removeAttr("required");
    $("#edithaikeappid").removeAttr("required");
    $("#edithaikestoreNum").removeAttr("required");
    $("#edithaikestaffNum").removeAttr("required");
    $("#edithaikekey").removeAttr("required");


    $("#edithaikeTypes").removeAttr("name");
    $("#edithaikemerchantNum").removeAttr("name");
    $("#edithaikeappid").removeAttr("name");
    $("#edithaikestoreNum").removeAttr("name");
    $("#edithaikestaffNum").removeAttr("name");
    $("#edithaikekey").removeAttr("name");
    $("#edithaikeRemark").removeAttr("name");
    //富友
    $("#editfuyouType").removeAttr("data-placeholder");
    $("#editfuyouType").removeAttr("required");
    $("#editfuyoumchntCd").removeAttr("required");


    $("#editfuyouTypes").removeAttr("name");
    $("#editfuyoumchntCd").removeAttr("name");
    $("#editfuyouRemark").removeAttr("name");

    //进钱吧

    $("#editlongzhimengType").removeAttr("data-placeholder");
    $("#editlongzhimengType").removeAttr("required");
    $("#editlongzhimengmchId").removeAttr("required");
    $("#editlongzhimengappid").removeAttr("required");
    $("#editlongzhimengmd5").removeAttr("required");

    $("#editlongzhimengTypes").removeAttr("name");
    $("#editlongzhimengmchId").removeAttr("name");
    $("#editlongzhimengappid").removeAttr("name");
    $("#editlongzhimengmd5").removeAttr("name");


    //支付宝中小学一脸通
    $("#editalischoolType").removeAttr("data-placeholder");


    $("#editalischoolxcxAppId").removeAttr("required");
    $("#editalischoolxcxPrivateKey").removeAttr("required");
    $("#editalischoolxcxAlipayPublicKey").removeAttr("required");
    $("#editalischoolcertType").removeAttr("required");
    $("#editalischoolschoolStdCode").removeAttr("required");
    $("#editalischoolschoolStdOutCode").removeAttr("required");
    $("#editalischoolscene").removeAttr("required");
    $("#editalischooldk").removeAttr("required");
    $("#editalischoolsignCallbackUrl").removeAttr("required");
    $("#editalischoolappId").removeAttr("required");
    $("#editalischoolprivateKey").removeAttr("required");
    $("#editalischoolalipayPublicKey").removeAttr("required");
    $("#editalischoolxcxAes").removeAttr("required");
    $("#editalischoolisvPid").removeAttr("required");
    $("#editalischoolisvName").removeAttr("required");
    $("#editalischoolmerchantId").removeAttr("required");
    $("#editalischoolmerchantName").removeAttr("required");
    $("#editalischoolmerchantPayPid").removeAttr("required");
    $("#editalischooldzCallbackUrl").removeAttr("required");

    $("#editalischoolxcxAppId").removeAttr("name");
    $("#editalischoolxcxPrivateKey").removeAttr("name");
    $("#editalischoolxcxAlipayPublicKey").removeAttr("name");
    $("#editalischoolcertType").removeAttr("name");
    $("#editalischoolschoolStdCode").removeAttr("name");
    $("#editalischoolschoolStdOutCode").removeAttr("name");
    $("#editalischoolscene").removeAttr("name");
    $("#editalischooldk").removeAttr("name");
    $("#editalischoolsignCallbackUrl").removeAttr("name");
    $("#editalischoolappId").removeAttr("name");
    $("#editalischoolprivateKey").removeAttr("name");
    $("#editalischoolalipayPublicKey").removeAttr("name");
    $("#editalischoolxcxAes").removeAttr("name");
    $("#editalischoolisvPid").removeAttr("name");
    $("#editalischoolisvName").removeAttr("name");
    $("#editalischoolmerchantId").removeAttr("name");
    $("#editalischoolmerchantName").removeAttr("name");
    $("#editalischoolmerchantPayPid").removeAttr("name");
    $("#editalischooldzCallbackUrl").removeAttr("name");

    //中山通
    $("#editzhongshantongType").removeAttr("data-placeholder");
    $("#editzhongshantongType").removeAttr("required");

    $("#editzhongshantongDevice").removeAttr("required");
    $("#editzhongshantongKey").removeAttr("required");
    $("#editzhongshantongAccount").removeAttr("required");
    //$("#editzhongshantongRemark").removeAttr("required");

    $("#editzhongshantongTypes").removeAttr("name");
    $("#editzhongshantongDevice").removeAttr("name");
    $("#editzhongshantongKey").removeAttr("name");
    $("#editzhongshantongAccount").removeAttr("name");
    $("#editzhongshantongRemark").removeAttr("name");


    //招行一网通
    $("#editzhaohangyiwangtongType").removeAttr("data-placeholder");
    $("#editzhaohangyiwangtongType").removeAttr("required");

    $("#editzhaohangyiwangtongActive").removeAttr("required");
    $("#editzhaohangyiwangtongBranchNo").removeAttr("required");
    $("#editzhaohangyiwangtongMerchantNo").removeAttr("required");
    $("#editzhaohangyiwangtongPayNoticeUrl").removeAttr("required");
    $("#editzhaohangyiwangtongReturnUrl").removeAttr("required");
    $("#editzhaohangyiwangtongSignNoticeUrl").removeAttr("required");
    $("#editzhaohangyiwangtongKey").removeAttr("required");

    $("#editzhaohangyiwangtongTypes").removeAttr("name");
    $("#editzhaohangyiwangtongActive").removeAttr("name");
    $("#editzhaohangyiwangtongBranchNo").removeAttr("name");
    $("#editzhaohangyiwangtongMerchantNo").removeAttr("name");
    $("#editzhaohangyiwangtongPayNoticeUrl").removeAttr("name");
    $("#editzhaohangyiwangtongReturnUrl").removeAttr("name");
    $("#editzhaohangyiwangtongSignNoticeUrl").removeAttr("name");
    $("#editzhaohangyiwangtongKey").removeAttr("name");


    //衢州一码付
    $("#editquzhouyimafuType").removeAttr("data-placeholder");
    $("#editquzhouyimafuType").removeAttr("required");

    $("#editquzhouyimafuUrl").removeAttr("required");
    $("#editquzhouyimafuMerchantId").removeAttr("required");
    $("#editquzhouyimafuPlatformId").removeAttr("required");
    $("#editquzhouyimafuKey").removeAttr("required");
    $("#editquzhouyimafuAge").removeAttr("required");

    $("#editquzhouyimafuTypes").removeAttr("name");
    $("#editquzhouyimafuUrl").removeAttr("name");
    $("#editquzhouyimafuMerchantId").removeAttr("name");
    $("#editquzhouyimafuPlatformId").removeAttr("name");
    $("#editquzhouyimafuKey").removeAttr("name");
    $("#editquzhouyimafuAge").removeAttr("name");


    //建行生活
    $("#editjianhangshenghuoType").removeAttr("data-placeholder");
    $("#editjianhangshenghuoType").removeAttr("required");

    $("#editjianhangshenghuoUrl").removeAttr("required");
    $("#editjianhangshenghuoKey").removeAttr("required");
    $("#editjianhangshenghuoCCBIBSVersion").removeAttr("required");
    $("#editjianhangshenghuoPtStyle").removeAttr("required");
    $("#editjianhangshenghuoPtLanguage").removeAttr("required");
    $("#editjianhangshenghuoCampusId").removeAttr("required");
    $("#editjianhangshenghuoCorpId").removeAttr("required");

    $("#editjianhangshenghuoTypes").removeAttr("name");
    $("#editjianhangshenghuoUrl").removeAttr("name");
    $("#editjianhangshenghuoKey").removeAttr("name");
    $("#editjianhangshenghuoCCBIBSVersion").removeAttr("name");
    $("#editjianhangshenghuoPtStyle").removeAttr("name");
    $("#editjianhangshenghuoPtLanguage").removeAttr("name");
    $("#editjianhangshenghuoCampusId").removeAttr("name");
    $("#editjianhangshenghuoCorpId").removeAttr("name");

    //中信银行
    $("#editccbpayType").removeAttr("data-placeholder");
    $("#editccbpayType").removeAttr("required");

    $("#editccbpayMchPrivateKey").removeAttr("required");
    $("#editccbpayPlatPublicKey").removeAttr("required");
    $("#editccbpayNotifyUrl").removeAttr("required");
    $("#editccbpayPayNotifyUrl").removeAttr("required");
    $("#editccbpayMchId").removeAttr("required");
    $("#editccbpayMchPwd").removeAttr("required");
    $("#editccbpayReqUrl").removeAttr("required");
    $("#editccbpayEncryptHost").removeAttr("required");
    $("#editccbpayMchAppId").removeAttr("required");
//    $("#editccbpayCorpId").removeAttr("required");

    $("#editccbpayTypes").removeAttr("name");
    $("#editccbpayMchPrivateKey").removeAttr("name");
    $("#editccbpayPlatPublicKey").removeAttr("name");
    $("#editccbpayNotifyUrl").removeAttr("name");
    $("#editccbpayPayNotifyUrl").removeAttr("name");
    $("#editccbpayMchId").removeAttr("name");
    $("#editccbpayMchPwd").removeAttr("name");
    $("#editccbpayReqUrl").removeAttr("name");
    $("#editccbpayMchAppId").removeAttr("name");
//    $("#editccbpayPtLanguage").removeAttr("name");
//    $("#editccbpayCampusId").removeAttr("name");
//    $("#editccbpayCorpId").removeAttr("name");


   //银盛
    $("#edityinshengType").removeAttr("data-placeholder");
    $("#edityinshengType").removeAttr("required");

    $("#edityinshengpartner_id").removeAttr("required");
    $("#edityinshengseller_id").removeAttr("required");
    $("#edityinshengappid").removeAttr("required");

    $("#edityinshengTypes").removeAttr("name");
    $("#edityinshengpartner_id").removeAttr("name");
    $("#edityinshengseller_id").removeAttr("name");
    $("#edityinshengappid").removeAttr("name");

    //兰州银行
    $("#editlanzhouType").removeAttr("data-placeholder");
    $("#editlanzhouType").removeAttr("required");

    // $("#editlanzhouappKey").removeAttr("required");
    // $("#editlanzhouserverPublicKey").removeAttr("required");
    // $("#editlanzhouclientPrivateKey").removeAttr("required");
    $("#editlanzhoupartner").removeAttr("required");
    $("#editlanzhoupartner").removeAttr("name");

    $("#editlanzhouTypes").removeAttr("name");
    // $("#editlanzhouappKey").removeAttr("name");
    // $("#editlanzhouserverPublicKey").removeAttr("name");
    // $("#editlanzhouclientPrivateKey").removeAttr("name");

    //农行缴费
    $("#editnonghangjfType").removeAttr("data-placeholder");
    $("#editnonghangjfType").removeAttr("required");

    $("#editnonghangjfCompanyPrivateKey").removeAttr("required");
    $("#editnonghangjfCompanyPublicKey").removeAttr("required");
    $("#editnonghangjfMerchantId").removeAttr("required");

    $("#editnonghangjfTypes").removeAttr("name");
    $("#editnonghangjfCompanyPrivateKey").removeAttr("name");
    $("#editnonghangjfCompanyPublicKey").removeAttr("name");
    $("#editnonghangjfMerchantId").removeAttr("name");
}


//清空文本框的属性
function removeAttr() {
    //回调和子商户
    $("#WXCallback").removeAttr("name");
    $("#WXCallback").removeAttr("required");
    $("#WXChildAppID").removeAttr("name");
    $("#WXChildAppID").removeAttr("required");

    //工行聚合支付
    //$("#icbcMchid").removeAttr("name");
    $("#icbcAppId").removeAttr("name");
    $("#merSerId").removeAttr("name");
    $("#merSerPrtclNo").removeAttr("name");
    $("#icbcPrivateKey").removeAttr("name");
    $("#icbcPublicKey").removeAttr("name");
    $("#icbcRemark").removeAttr("name");

    $("#icbcPayTypeselect").removeAttr("data-placeholder");
    $("#icbcPayTypeselect").removeAttr("required");
    //$("#icbcMchid").removeAttr("required");
    $("#icbcAppId").removeAttr("required");
    $("#merSerId").removeAttr("required");
    $("#merSerPrtclNo").removeAttr("required");
    $("#icbcPrivateKey").removeAttr("required");
    $("#icbcPublicKey").removeAttr("required");

    $("#appID").removeAttr("name");
    $("#mchid").removeAttr("name");
    $("#key").removeAttr("name");
    $("#AppSecret").removeAttr("name");
    $("#remark").removeAttr("name");

    $("#appID1").removeAttr("name");
    $("#pid").removeAttr("name");
    $("#privateKey").removeAttr("name");
    $("#payType").removeAttr("name");
    $("#publicKey").removeAttr("name");
    $("#alipayPublicKey").removeAttr("name");
    $("#remark1").removeAttr("name");
    $("#payType2").removeAttr("name");
    $("#mchid1").removeAttr("name");
    $("#key1").removeAttr("name");
    $("#remark2").removeAttr("name");
    $("#payType3").removeAttr("name");
    $("#sysServiceProviderId").removeAttr("name");

    $("#payType4").removeAttr("name");
    $("#commid").removeAttr("name");
    $("#commoperid").removeAttr("name");
    $("#commstoreno").removeAttr("name");
    $("#devsn").removeAttr("name");
    $("#qingDaoNongShangkey").removeAttr("name");
    $("#remark3").removeAttr("name");

    $("#zpaytype").removeAttr("data-placeholder");
    $("#zpaytype").removeAttr("required");
    $("#appID1").removeAttr("required");
    $("#pid").removeAttr("required");
    $("#privateKey").removeAttr("required");
    $("#publicKey").removeAttr("required");
    $("#alipayPublicKey").removeAttr("required");
    $("#sysServiceProviderId").removeAttr("sysServiceProviderId");

    $("#paytype1").removeAttr("data-placeholder");
    $("#paytype1").removeAttr("required");
    $("#appID").removeAttr("required");
    $("#mchid").removeAttr("required");
    $("#key").removeAttr("required");

    $("#unionpaytype").removeAttr("data-placeholder");
    $("#unionpaytype").removeAttr("required");
    $("#mchid1").removeAttr("required");
    $("#key1").removeAttr("required");

    $("#qingDaoNongShangtype").removeAttr("data-placeholder");
    $("#qingDaoNongShangtype").removeAttr("required");
    $("#commid").removeAttr("required");
    $("#commoperid").removeAttr("required");
    $("#commstoreno").removeAttr("required");
    $("#devsn").removeAttr("required");
    $("#qingDaoNongShangkey").removeAttr("required");

    //收钱吧
    $("#ShouQianBaPayType").removeAttr("data-placeholder");
    $("#ShouQianBaPayType").removeAttr("required");
    $("#terminal_sn").removeAttr("required");
    $("#terminal_key").removeAttr("required");

    $("#ShouQianBaPayTypes").removeAttr("name");
    $("#terminal_sn").removeAttr("name");
    $("#terminal_key").removeAttr("name");
    $("#remark4").removeAttr("name");

    //龙支付
    $("#ccbbPayType").removeAttr("data-placeholder");
    $("#ccbbPayType").removeAttr("required");
    $("#MERCHANTID").removeAttr("required");
    $("#POSID").removeAttr("required");
    $("#BRANCHID").removeAttr("required");
    $("#ccbbPubKey").removeAttr("required");
    $("#USERID").removeAttr("required");
    $("#ccbbPASSWORD").removeAttr("required");
    $("#port").removeAttr("required");

    $("#DCMERCHANTID").removeAttr("required");
    $("#DCPOSID").removeAttr("required");
    $("#DCBRANCHID").removeAttr("required");
    $("#ccbbDCPubKey").removeAttr("required");
    $("#DCpubKey1").removeAttr("required");
    $("#DCpriKey1").removeAttr("required");
    $("#DCpubKey2").removeAttr("required");
    $("#DCFTCORPID").removeAttr("required");
    $("#DCUSERID").removeAttr("required");
    $("#DCPASSWORD").removeAttr("required");

    $("#ccbbPayTypes").removeAttr("name");
    $("#MERCHANTID").removeAttr("name");
    $("#POSID").removeAttr("name");
    $("#BRANCHID").removeAttr("name");
    $("#ccbbremark").removeAttr("name");
    $("#ccbbPubKey").removeAttr("name");
    $("#USERID").removeAttr("name");
    $("#ccbbPASSWORD").removeAttr("name");
    $("#port").removeAttr("name");

    $("#ccbbCallback").removeAttr("required");
    $("#ccbbAPPID").removeAttr("required");
    $("#ccbbCallback").removeAttr("name");
    $("#ccbbAPPID").removeAttr("name");

    $("#DCMERCHANTID").removeAttr("name");
    $("#DCPOSID").removeAttr("name");
    $("#DCBRANCHID").removeAttr("name");
    $("#ccbbDCPubKey").removeAttr("name");
    $("#DCpubKey1").removeAttr("name");
    $("#DCpriKey1").removeAttr("name");
    $("#DCpubKey2").removeAttr("name");
    $("#DCFTCORPID").removeAttr("name");
    $("#DCUSERID").removeAttr("name");
    $("#DCPASSWORD").removeAttr("name");

    $("#appidUNIONPAYPS").removeAttr("required");
    $("#appkeyUNIONPAYPS").removeAttr("required");
    $("#merchantCodeUNIONPAYPS").removeAttr("required");
    $("#terminalCodeUNIONPAYPS").removeAttr("required");

    $("#appidUNIONPAYPS").removeAttr("name");
    $("#appkeyUNIONPAYPS").removeAttr("name");
    $("#merchantCodeUNIONPAYPS").removeAttr("name");
    $("#terminalCodeUNIONPAYPS").removeAttr("name");
    //移领支付
    $("#kancloudType").removeAttr("data-placeholder");
    $("#kancloudType").removeAttr("required");
    $("#merchantNum").removeAttr("required");
    $("#kancloudKey").removeAttr("required");

    $("#kancloudTypes").removeAttr("name");
    $("#merchantNum").removeAttr("name");
    $("#kancloudKey").removeAttr("name");
    $("#kancloudRemark").removeAttr("name");
    //乐刷
    $("#leshuaType").removeAttr("data-placeholder");
    $("#leshuaType").removeAttr("required");
    $("#leshuamerchantId").removeAttr("required");
    $("#leshuaKey").removeAttr("required");

    $("#leshuaTypes").removeAttr("name");
    $("#leshuamerchantId").removeAttr("name");
    $("#leshuaKey").removeAttr("name");
    $("#leshuaRemark").removeAttr("name");

    //大华捷通
    $("#chinaumsType").removeAttr("data-placeholder");
    $("#chinaumsType").removeAttr("required");
    $("#chinaumsmerchantId").removeAttr("required");
    $("#chinaumsdevsn").removeAttr("required");
    $("#chinaumsKey").removeAttr("required");

    $("#chinaumsTypes").removeAttr("name");
    $("#chinaumsmerchantId").removeAttr("name");
    $("#chinaumsdevsn").removeAttr("name");
    $("#chinaumsKey").removeAttr("name");
    $("#chinaumsRemark").removeAttr("name");

    //银联校园版
    $("#unionschoolType").removeAttr("data-placeholder");
    $("#unionschoolType").removeAttr("required");
    $("#unionschoolBrandId").removeAttr("required");
    $("#unionschoolOpshopId").removeAttr("required");
    $("#unionschoolBussType").removeAttr("required");
    $("#unionschoolKey").removeAttr("required");

    $("#unionschoolTypes").removeAttr("name");
    $("#unionschoolBrandId").removeAttr("name");
    $("#unionschoolOpshopId").removeAttr("name");
    $("#unionschoolBussType").removeAttr("name");
    $("#unionschoolKey").removeAttr("name");
    $("#unionschoolRemark").removeAttr("name");

    //付惠吧
    $("#FuHuiBaType").removeAttr("data-placeholder");
    $("#FuHuiBaType").removeAttr("required");
    $("#FuHuiBaKey").removeAttr("required");

    $("#FuHuiBaTypes").removeAttr("name");
    $("#FuHuiBaKey").removeAttr("name");
    $("#FuHuiBaRemark").removeAttr("name");

    //江苏昆山农商银行
    $("#ksrcbType").removeAttr("data-placeholder");
    $("#ksrcbType").removeAttr("required");
    $("#ksrcbSubMerNo").removeAttr("required");
    $("#ksrcbSubMerName").removeAttr("required");
    $("#ksrcbMerStoreNo").removeAttr("required");

    $("#ksrcbTypes").removeAttr("name");
    $("#ksrcbSubMerNo").removeAttr("name");
    $("#ksrcbSubMerName").removeAttr("name");
    $("#ksrcbMerStoreNo").removeAttr("name");
    $("#ksrcbRemark").removeAttr("name");

    //随行付
    $("#SuiXingPaytype").removeAttr("data-placeholder");
    $("#SuiXingPaytype").removeAttr("required");
    $("#mno").removeAttr("required");

    $("#SuiXingPaytypes").removeAttr("name");
    $("#mno").removeAttr("name");
    $("#poundage").removeAttr("name");
    $("#startSigning").removeAttr("name");
    $("#SuiXingPayremark").removeAttr("name");

    //中国农行
    $("#abcbType").removeAttr("data-placeholder");
    $("#abcbType").removeAttr("required");
    $("#abcmerchantID").removeAttr("required");
    $("#abcmerchantPrivateKey").removeAttr("required");
    $("#terminalNo").removeAttr("required");

    $("#abcTypes").removeAttr("name");
    $("#abcmerchantID").removeAttr("required");
    $("#abcmerchantPrivateKey").removeAttr("required");
    $("#receiveAccount").removeAttr("name");
    $("#terminalNo").removeAttr("name");
    $("#abcRemark").removeAttr("name");
    //轻松付
    $("#qsftype").removeAttr("data-placeholder");
    $("#qsftype").removeAttr("required");
    $("#qsfChildAppID").removeAttr("required");
    $("#qsfSubMchid").removeAttr("required");
    $("#qsfappID").removeAttr("required");
    $("#qsfmchid").removeAttr("required");
    $("#qsfmchSerialNo").removeAttr("required");
    $("#wechatpaySerial").removeAttr("required");
    $("#qsfcertificate").removeAttr("required");
    $("#apiV3Key").removeAttr("required");
    $("#wxChannel").removeAttr("required");
    $("#qsfprivateKey").removeAttr("required");
    $("#qsfSchoolId").removeAttr("required");
    $("#qsfOrganizationId").removeAttr("required");
    $("#qsfkey").removeAttr("required");

    $("#qsftypes").removeAttr("name");
    $("#qsfChildAppID").removeAttr("name");
    $("#qsfSubMchid").removeAttr("name");
    $("#qsfappID").removeAttr("name");
    $("#qsfmchid").removeAttr("name");
    $("#qsfmchSerialNo").removeAttr("name");
    $("#qsfcertificate").removeAttr("name");
    $("#wechatpaySerial").removeAttr("name");
    $("#apiV3Key").removeAttr("name");
    $("#wxChannel").removeAttr("name");
    $("#qsfprivateKey").removeAttr("name");
    $("#qsfSchoolId").removeAttr("name");
    $("#qsfOrganizationId").removeAttr("name");
    $("#qsfkey").removeAttr("name");
    $("#qsfremark").removeAttr("name");
    //盛灿
    $("#ShengCantype").removeAttr("data-placeholder");
    $("#ShengCantype").removeAttr("required");
    $("#ShengCanSchoolNo").removeAttr("required");
    $("#ShengCankey").removeAttr("required");

    $("#ShengCantypes").removeAttr("name");
    $("#ShengCanSchoolNo").removeAttr("name");
    $("#ShengCankey").removeAttr("name");
    $("#ShengCanremark").removeAttr("name");
    //POS同
    $("#POSTongtype").removeAttr("data-placeholder");
    $("#POSTongtype").removeAttr("required");
    $("#POSTongappid").removeAttr("required");
    $("#POSTongappkey").removeAttr("required");
    $("#POSTongmerchantCode").removeAttr("required");
    $("#POSTongterminalCode").removeAttr("required");

    $("#POSTongtypes").removeAttr("name");
    $("#POSTongappid").removeAttr("name");
    $("#POSTongappkey").removeAttr("name");
    $("#POSTongmerchantCode").removeAttr("name");
    $("#POSTongterminalCode").removeAttr("name");
    $("#POSTongremark").removeAttr("name");

    //汇银通POS
    $("#huiYinTongType").removeAttr("data-placeholder");
    $("#huiYinTongType").removeAttr("required");
    $("#InstNo").removeAttr("required");
    $("#MerchId").removeAttr("required");
    $("#TermId").removeAttr("required");
    $("#huiYinTongKey").removeAttr("required");

    $("#huiYinTongTypes").removeAttr("name");
    $("#InstNo").removeAttr("name");
    $("#MerchId").removeAttr("name");
    $("#TermId").removeAttr("name");
    $("#huiYinTongKey").removeAttr("name");
    $("#huiYinTongremark").removeAttr("name");

    //交通银行
    $("#bocomType").removeAttr("data-placeholder");
    $("#bocomType").removeAttr("required");
    $("#bocomMerPtcId").removeAttr("required");
    $("#bocomAppID").removeAttr("required");
    $("#myPrivateKey").removeAttr("required");
    $("#apigwPublicKey").removeAttr("required");

    $("#bocomTypes").removeAttr("name");
    $("#bocomMerPtcId").removeAttr("name");
    $("#bocomAppID").removeAttr("name");
    $("#myPrivateKey").removeAttr("name");
    $("#apigwPublicKey").removeAttr("name");
    $("#bocomRemark").removeAttr("name");

    //杉德河马付
    $("#SandHippoType").removeAttr("data-placeholder");
    $("#SandHippoType").removeAttr("required");
    $("#SandHippoAppId").removeAttr("required");
    $("#SandHippoPrivateKey").removeAttr("required");
    $("#platPublicKey").removeAttr("required");
    $("#storeId").removeAttr("required");

    $("#SandHippoTypes").removeAttr("name");
    $("#SandHippoAppId").removeAttr("name");
    $("#SandHippoPrivateKey").removeAttr("name");
    $("#platPublicKey").removeAttr("name");
    $("#storeId").removeAttr("name");
    $("#SandHippoSubAppId").removeAttr("name");
    $("#SandHippoRemark").removeAttr("name");

    //交通银行
    $("#laKaLaType").removeAttr("data-placeholder");
    $("#laKaLaType").removeAttr("required");
    $("#laKaLaAppid").removeAttr("required");
    $("#laKaLaMchSerialNo").removeAttr("required");
    $("#laKaLaMerchantNo").removeAttr("required");
    $("#laKaLaTermNo").removeAttr("required");

    $("#laKaLaTypes").removeAttr("name");
    $("#laKaLaAppid").removeAttr("name");
    $("#laKaLaMchSerialNo").removeAttr("name");
    $("#laKaLaMerchantNo").removeAttr("name");
    $("#laKaLaTermNo").removeAttr("name");
    $("#laKaLaRemark").removeAttr("name");

    //邮政银行
    $("#psbcType").removeAttr("data-placeholder");
    $("#psbcType").removeAttr("required");
    $("#psbcMercId").removeAttr("required");


    $("#psbcTypes").removeAttr("name");
    $("#psbcMercId").removeAttr("name");
    $("#psbcRemark").removeAttr("name");

    //扫呗
    $("#saobeiType").removeAttr("data-placeholder");
    $("#saobeiType").removeAttr("required");
    $("#saobeiMerchantNo").removeAttr("required");
    $("#saobeiTerminalId").removeAttr("required");
    $("#saobeiTokenKey").removeAttr("required");


    $("#saobeiTypes").removeAttr("name");
    $("#saobeiMerchantNo").removeAttr("name");
    $("#saobeiTerminalId").removeAttr("name");
    $("#saobeiTokenKey").removeAttr("name");
    $("#saobeiRemark").removeAttr("name");

    //嗨客
    $("#haikeType").removeAttr("data-placeholder");
    $("#haikeType").removeAttr("required");
    $("#haikemerchantNum").removeAttr("required");
    $("#haikeappid").removeAttr("required");
    $("#haikestoreNum").removeAttr("required");
    $("#haikestaffNum").removeAttr("required");
    $("#haikekey").removeAttr("required");


    $("#haikeTypes").removeAttr("name");
    $("#haikemerchantNum").removeAttr("name");
    $("#haikeappid").removeAttr("name");
    $("#haikestoreNum").removeAttr("name");
    $("#haikestaffNum").removeAttr("name");
    $("#haikekey").removeAttr("name");
    $("#haikeRemark").removeAttr("name");
    //富友
    $("#fuyouType").removeAttr("data-placeholder");
    $("#fuyouType").removeAttr("required");
    $("#fuyoumchntCd").removeAttr("required");


    $("#fuyouTypes").removeAttr("name");
    $("#fuyoumchntCd").removeAttr("name");
    $("#fuyouRemark").removeAttr("name");


    //进钱吧
    $("#longzhimengTypes").removeAttr("name");

    $("#longzhimengType").removeAttr("data-placeholder");
    $("#longzhimengType").removeAttr("required");

    $("#longzhimengmchId").removeAttr("required");
    $("#longzhimengappid").removeAttr("required");
    $("#longzhimengmd5").removeAttr("required");

    $("#longzhimengmchId").removeAttr("name");
    $("#longzhimengappid").removeAttr("name");
    $("#longzhimengmd5").removeAttr("name");

    //支付宝中小学一脸通

    $("#alischoolTypes").removeAttr("name");

    $("#alischoolType").removeAttr("data-placeholder");
    $("#alischoolType").removeAttr("required");

    $("#alischoolxcxAppId").removeAttr("required");
    $("#alischoolxcxPrivateKey").removeAttr("required");
    $("#alischoolxcxAlipayPublicKey").removeAttr("required");
    $("#alischoolcertType").removeAttr("required");
    $("#alischoolschoolStdCode").removeAttr("required");
    $("#alischoolschoolStdOutCode").removeAttr("required");
    $("#alischoolscene").removeAttr("required");
    $("#alischooldk").removeAttr("required");
    $("#alischoolsignCallbackUrl").removeAttr("required");
    $("#alischoolappId").removeAttr("required");
    $("#alischoolprivateKey").removeAttr("required");
    $("#alischoolalipayPublicKey").removeAttr("required");
    $("#alischoolxcxAes").removeAttr("required");
    $("#alischoolisvPid").removeAttr("required");
    $("#alischoolisvName").removeAttr("required");
    $("#alischoolmerchantId").removeAttr("required");
    $("#alischoolmerchantName").removeAttr("required");
    $("#alischoolmerchantPayPid").removeAttr("required");
    $("#alischooldzCallbackUrl").removeAttr("required");

    $("#alischoolxcxAppId").removeAttr("name");
    $("#alischoolxcxPrivateKey").removeAttr("name");
    $("#alischoolxcxAlipayPublicKey").removeAttr("name");
    $("#alischoolcertType").removeAttr("name");
    $("#alischoolschoolStdCode").removeAttr("name");
    $("#alischoolschoolStdOutCode").removeAttr("name");
    $("#alischoolscene").removeAttr("name");
    $("#alischooldk").removeAttr("name");
    $("#alischoolsignCallbackUrl").removeAttr("name");
    $("#alischoolappId").removeAttr("name");
    $("#alischoolprivateKey").removeAttr("name");
    $("#alischoolalipayPublicKey").removeAttr("name");
    $("#alischoolxcxAes").removeAttr("name");
    $("#alischoolisvPid").removeAttr("name");
    $("#alischoolisvName").removeAttr("name");
    $("#alischoolmerchantId").removeAttr("name");
    $("#alischoolmerchantName").removeAttr("name");
    $("#alischoolmerchantPayPid").removeAttr("name");
    $("#alischooldzCallbackUrl").removeAttr("name");


    //中山通
    $("#zhongshantongType").removeAttr("data-placeholder");
    $("#zhongshantongType").removeAttr("required");
    $("#zhongshantongDevice").removeAttr("required");
    $("#zhongshantongKey").removeAttr("required");
    $("#zhongshantongAccount").removeAttr("required");


    $("#zhongshantongTypes").removeAttr("name");
    $("#zhongshantongDevice").removeAttr("name");
    $("#zhongshantongKey").removeAttr("name");
    $("#zhongshantongAccount").removeAttr("name");
    $("#zhongshantongRemark").removeAttr("name");


    //招行一网通
    $("#zhaohangyiwangtongType").removeAttr("data-placeholder");
    $("#zhaohangyiwangtongType").removeAttr("required");
    $("#zhaohangyiwangtongActive").removeAttr("required");
    $("#zhaohangyiwangtongBranchNo").removeAttr("required");
    $("#zhaohangyiwangtongMerchantNo").removeAttr("required");
    $("#zhaohangyiwangtongPayNoticeUrl").removeAttr("required");
    $("#zhaohangyiwangtongReturnUrl").removeAttr("required");
    $("#zhaohangyiwangtongSignNoticeUrl").removeAttr("required");
    $("#zhaohangyiwangtongKey").removeAttr("required");

    $("#zhaohangyiwangtongTypes").removeAttr("name");
    $("#zhaohangyiwangtongActive").removeAttr("name");
    $("#zhaohangyiwangtongBranchNo").removeAttr("name");
    $("#zhaohangyiwangtongMerchantNo").removeAttr("name");
    $("#zhaohangyiwangtongPayNoticeUrl").removeAttr("name");
    $("#zhaohangyiwangtongReturnUrl").removeAttr("name");
    $("#zhaohangyiwangtongSignNoticeUrl").removeAttr("name");
    $("#zhaohangyiwangtongKey").removeAttr("name");

    //衢州一码付
    $("#quzhouyimafuType").removeAttr("data-placeholder");
    $("#quzhouyimafuType").removeAttr("required");
    $("#quzhouyimafuUrl").removeAttr("required");
    $("#quzhouyimafuMerchantId").removeAttr("required");
    $("#quzhouyimafuPlatformId").removeAttr("required");
    $("#quzhouyimafuKey").removeAttr("required");
    $("#quzhouyimafuAge").removeAttr("required");

    $("#zhaohangyiwangtongTypes").removeAttr("name");
    $("#quzhouyimafuUrl").removeAttr("name");
    $("#quzhouyimafuMerchantId").removeAttr("name");
    $("#quzhouyimafuPlatformId").removeAttr("name");
    $("#quzhouyimafuKey").removeAttr("name");
    $("#quzhouyimafuAge").removeAttr("name");


    //建行生活
    $("#jianhangshenghuoType").removeAttr("data-placeholder");
    $("#jianhangshenghuoType").removeAttr("required");
    $("#jianhangshenghuoUrl").removeAttr("required");
    $("#jianhangshenghuoKey").removeAttr("required");
    $("#jianhangshenghuoCCBIBSVersion").removeAttr("required");
    $("#jianhangshenghuoPtStyle").removeAttr("required");
    $("#jianhangshenghuoPtLanguage").removeAttr("required");
    $("#jianhangshenghuoCampusId").removeAttr("required");
    $("#jianhangshenghuoCorpId").removeAttr("required");

    $("#jianhangshenghuoTypes").removeAttr("name");
    $("#jianhangshenghuoUrl").removeAttr("name");
    $("#jianhangshenghuoKey").removeAttr("name");
    $("#jianhangshenghuoCCBIBSVersion").removeAttr("name");
    $("#jianhangshenghuoPtStyle").removeAttr("name");
    $("#jianhangshenghuoPtLanguage").removeAttr("name");
    $("#jianhangshenghuoCampusId").removeAttr("name");
    $("#jianhangshenghuoCorpId").removeAttr("name");

    //中信银行
    $("#ccbpayType").removeAttr("data-placeholder");
    $("#ccbpayType").removeAttr("required");
    $("#ccbpayMchPrivateKey").removeAttr("required");
    $("#ccbpayMchPrivateKey").removeAttr("required");
    $("#ccbpayNotifyUrl").removeAttr("required");
    $("#ccbpayPayNotifyUrl").removeAttr("required");
    $("#ccbpayMchId").removeAttr("required");
    $("#ccbpayMchPwd").removeAttr("required");
    $("#ccbpayEncryptHost").removeAttr("required");
    $("#ccbpayReqUrl").removeAttr("required");
//    $("#ccbpayPtLanguage").removeAttr("required");
//    $("#ccbpayCampusId").removeAttr("required");
//    $("#ccbpayCorpId").removeAttr("required");

    $("#ccbpayTypes").removeAttr("name");
    $("#ccbpayMchPrivateKey").removeAttr("name");
    $("#ccbpayPlatPublicKey").removeAttr("name");
    $("#ccbpayNotifyUrl").removeAttr("name");
    $("#ccbpayPayNotifyUrl").removeAttr("name");
    $("#ccbpayMchId").removeAttr("name");
    $("#ccbpayMchPwd").removeAttr("name");
//    $("#ccbpayPtLanguage").removeAttr("name");
//    $("#ccbpayCampusId").removeAttr("name");
//    $("#ccbpayCorpId").removeAttr("name");
}